chore(tsconfig): explicit sourceMap and declarationMap: false#1213
Merged
John-David Dalton (jdalton) merged 1 commit intomainfrom Apr 17, 2026
Merged
chore(tsconfig): explicit sourceMap and declarationMap: false#1213John-David Dalton (jdalton) merged 1 commit intomainfrom
John-David Dalton (jdalton) merged 1 commit intomainfrom
Conversation
Set sourceMap: false and declarationMap: false explicitly on every tsconfig.json in the repo. Keys are fully alphanumerically sorted within each compilerOptions block. We never want to ship sourcemaps or declaration maps — making the flags explicit prevents accidental regression when someone edits a config and forgets to check inheritance.
This was referenced Apr 17, 2026
Bradley Farias (bmeck)
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Sets
sourceMap: falseanddeclarationMap: falseexplicitly on everytsconfig.jsonin the repo. Keys are fully alphanumerically sorted within eachcompilerOptionsblock.We never want to ship sourcemaps or declaration maps. Making the flags explicit prevents accidental regression when someone edits a config and forgets to check inheritance.
Files touched
.config/tsconfig.base.json(wassourceMap: true→false).config/tsconfig.build.json(wasdeclarationMap: true→false; also addssourceMap: false).config/tsconfig.check.json.config/tsconfig.external-aliases.json.config/tsconfig.test.jsonpackages/cli/.config/tsconfig.check.jsonpackages/cli/tsconfig.jsontsconfig.json.claude/hooks/check-new-deps/tsconfig.jsonSplit out from #1211 so the dep-hook cleanup there stays focused.
Note
Low Risk
Config-only change affecting TypeScript build/check outputs; main risk is reduced debugging fidelity if any workflow relied on sourcemaps or declaration maps.
Overview
Disables generation of TypeScript sourcemaps and declaration maps across the repo by explicitly setting
sourceMap: falseanddeclarationMap: falsein all relevanttsconfigvariants (base/build/check/test, root, CLI, and the.claudedependency hook).Also normalizes
compilerOptionsordering and updates inherited defaults (notably flipping.config/tsconfig.base.jsonsourceMaptofalse, and.config/tsconfig.build.jsondeclarationMaptofalsewhile addingsourceMap: false) to prevent accidental re-enablement via config edits.Reviewed by Cursor Bugbot for commit 625010c. Configure here.